package com.utils;

public class CodeConstant {

	public static final String SYSTEM_ERROR = "系统错误，请与管理员联系";

	public static final String REQUEST_FAILUE = "请求失败";

	public static final String FILE_UPLOAD_FAILUE = "文件上传失败";

	public static final String FILE_DELETE_FAILUE = "文件删除失败";
	
	public static final String CODE_000 ="000"; //接口提交成功
	
	public static final String CODE_001 = "001";   //接口非法请求错误
	
	public static final String CODE_002="002";    // 接口传递参数错误
	
	public static final String CODE_003 ="003";   //接口异常
	
	
	/** 接口返回码信息  **/
	public static final String REQUEST_SUCCESS ="000";   //请求成功*
	
	public static final String REQUEST_FAIL ="001";      //请求失败
	
	public static final String COMMON_ILIEGAL_REQUEST ="002";  //参数信息不合法

	public static final String COMMON_NON_MAIN_ACCOUNT_REQUEST ="003";  //非主帐号
	
	public static final String COMMON_INTERFACE_ERROR ="999";  //接口异常*
	
	
	
	/** 商户类返回码   以1开头标识 **/
	
	public static final String REGISTER_ISHAVE ="10001"; //用户名已存在
	
	public static final String RREGISTER_ISNULL ="10002"; //用户名为空
	
	public static final String REGISTER_PWD_ISNULL ="10003"; //密码为空
	
	public static final String RREGISTER_CODE_ISNULL ="10004"; //验证码为空
	
	public static final String RREGISTER_CODE_ERROR ="10005";  //验证码错误
	
	
	public static final String LOGIN_ACCOUNT_ISNULL ="10006";    //账户或密码为空
	
	public static final String LOGIN_ACCOUNT_ISNOTHAVE ="10007";  //账户不存在
	
	public static final String LOGIN_ACCOUNT_ERROR ="10008";   //账户或密码错误
	
	public static final String SENDMESSAGE_MOBILE_ISNULL ="10009";  //手机号码为空*
	
	public static final String MOBILE_ISHAVE ="10010";   //手机号码已注册*
	
	public static final String COMPANY_BASIC_ISNOTHAVE ="10011";  //未找到用户信息
	
	public static final String STORE_ID_ISNULL ="10012";  //店铺ID为空
	
	public static final String FINDPWD_PWD_NOT_AS ="10013";  //两次密码输入不一致
	
	public static final String COMPANY_MOBILE_BINGING ="10014";  //手机号码已被绑定
	
	public static final String COMPANY_EMAIL_BINGING ="10015";  //邮箱已被绑定
	
	public static final String COMPANY_MOBILE_NOTREGISTER ="10016";  //手机号码在系统中不存在
	
	public static final String COMPANY_CODE_ISNULL ="10017";  //图形验证码为空
	
	public static final String CODE_PIC_ERR ="10018";  //图形验证码为空
	
	public static final String COMPANY_EMAIL_ISNULL ="10019";  //邮箱为空
	
	public static final String COMPANY_MODPWD_ISLOSE ="10020";  //修改密码地址已失效
	
	public static final String MEMBER_ADDRESS_DEFAULT_ISNOTDEL ="10021";  //默认地址不能删除
	
	public static final String MEMBER_STATUS_ISNOTDEL ="10022";  //账号为启用状态，不能删除
	
	public static final String MEMBER_ROLE_ISNULL ="10023";  //角色不存在
	
	public static final String MEMBER_ROLE_ISLINK_DEL ="10024";  //角色下存在关联账户
	
	public static final String MEMBER_ROLE_REPEAT ="10025";  //角色重复
	
	public static final String LOGIN_ACCOUNT_IS_NO_LOGIN ="10026";  //账号状态为停用
	
	public static final String FINDPWD_TYPE_ISNULL ="10027";  //找回/修改类型为空
	
	public static final String COMPANY_MODMOBILE_ISLOSE ="10028";  //修改手机地址已失效
	
	public static final String COMPANY_MODEMAIL_ISLOSE ="10029";  //修改邮箱地址已失效
	
	public static final String COMPANY_EMAIL_NOTREGISTER ="10030";  //邮箱在系统中不存在
	
	public static final String COMPANY_ACCOUNT_ISHAVE ="10031";  //该帐号已被占用
	
	public static final String COMPANY_CHECKCODE_ISNULL ="10032";  //推荐码为空
	
	public static final String COMPANY_CHECKCODE_ISLOSE ="10033";  //推荐码无效
	
	public static final String COMPANY_CHECKCODE_ISHAVE ="10034";  //推荐码已使用

	public static final String MEMBER_EMPLOYEE_STORE_ISNULL = "10035"; //账户下未赋予店铺权限;

	public static final String MEMBER_STORE_AUTH_ERROR = "10036"; //店铺授权错误

	public static final String MEMBER_SUBACCOUNT_NOTREGISTER = "10037"; //子帐号不存在

	public static final String MEMBER_EMPLOYEE_ROLE_ISNULL = "10038"; //账户下未赋予角色权限;

	public static final String MEMBER_SUBACCOUNT_ISNULL = "10039"; //子帐号为空

	public static final String UPDATE_SUBACCOUNTSTATUS_TYPE_ISNULL = "10040"; //修改子帐号状态，类型为空

	public static final String UPDATE_SUBACCOUNTSTATUS_SUBACCOUNTID_ISNULL = "10041"; //修改子帐号状态，子帐号ID为空

	public static final String MEMBER_SUBACCOUNTID_ISNULL = "10042"; //子帐号ID为空

	public static final String MEMBER_ACCOUNT_NOAUTHORITY = "10043"; //此帐号没有操作权限

	public static final String MEMBER_ROLEID_ISNULL = "10044"; //角色ID为空

	public static final String MEMBER_STORE_AUTHORIZE_MAX = "10045";//授权已经到上限，请联系客服
	
	public static final String MEMBER_CRAWL_MAX = "10046";//每日采集接口上限，暂定每个用户一天10000次

	public static final String LOGIN_ACCOUNT_NOACTIVATE ="10047";  //账号状态未激活
	
	public static final String LOGIN_ACCOUNT_VALID ="10048";  //账号状态未在有效期
	
	public static final String LOGIN_ACCOUNT_ALIPAY_NULL ="10049";  //账号不能为空
	
	public static final String REGISTER_ISADD_LIMIT ="10050"; //子账户已达上限



	/** 授权令牌信息返回码  以2开头标识**/
	public static final String COMPANY_BASIC_TOKEN_ISNULL ="20001";  //授权令牌为空
	
	public static final String COMPANY_BASIC_TOKEN_ERR ="20002";  //授权令牌错误
	
	public static final String COMPANY_BASIC_TOKEN_EXPIRE ="20003"; //授权令牌过期，请重新登录
	
	public static final String COMPANY_STORE_ISHAVE1 ="20004";  //该站点下已存在店铺
	
	public static final String SENDMESSAGE_TEMPLATE_ERR ="20005";   //获取短信模板失败
	
	public static final String COMPANY_STORE_ISHAVE ="20006";    //店铺已存在
	
	public static final String COMPANY_STORE_TOKEN_ISHAVE ="20007";    //授权信息已授权，请联系管理员
	
	public static final String LOGIN_PASSWORD_ERROR ="20008";  //原密码错误
	
	public static final String IMAGE_UPLOAD_SIZE_ERROR ="20009";  //图片大小超出限制

	public static final String IMAGE_UPLOAD_TYPE_ERROR ="20012";  //图片类型错误
	
	public static final String shopping_VALUE_INPUT_ERROR ="20010";  //橙汁点输入错误
	
	public static final String FOLLOW_REMIND_MOBILE_IS_NULL ="20011";  //跟卖提醒手机号码为空

	public static final String COMPANY_STORE_NOTHAVE ="20012";  //跟卖提醒手机号码为空
	
	/** 供应链管理信息返回码  以3开头标识**/
	public static final String SHIPMENT_SKU_ISNULL ="30001";    //SKU商品为空
	
	public static final String PRODUCT_STOCK_ISHAVE ="30002";    //产品编码已存在

	public static final String PRODUCT_STOCK_MARKS_ISHAVE ="30003";  //数据已关联
	
	public static final String PRODUCT_STOCK_FILE_ISERROR ="30004";   //文件格式不对
	
	public static final String PRODUCT_STOCK_CODE_ISLARGE ="30005";   //产品编码过长
	
	public static final String SUPPLIER_NAME_ISHAVE ="30006";   //供应商名称重复
	
	public static final String PURCHASE_ORDER_PRODUCT_ISNULL ="30007";   //采购订单商品信息为空
	
	public static final String PURCHASE_ORDER_ISNULL ="30008";   //采购订单ID为空
	
	public static final String COMPANY_EMAIL_TEMPLATE_ISNULL ="30009";   //邮件模板不存在
	
	public static final String COMPANY_EMAIL_TEMPLATE_ISHAVE ="30010";   //邮件模板已存在
	
	public static final String PRODUCT_LIST_SIZE_ISERROR ="30011";   //商品数据不正确
	
	public static final String ORDER_ISCANCELL ="30012";   //订单已取消
	
	public static final String ORDER_IS_SHIPMENT ="30013";   //订单已配送
	
	public static final String COMPANY_EMAIL_SERVER_ISNOTHAVE ="30014";   //邮件服务器不存在
	
	public static final String SHIPMENT_LOGISTICS_ISNULL ="30015";   //物流信息为空
	
	public static final String SUPPLIER_ISNULL ="30016";   //供应商为空
	
	public static final String PURCHASE_ORDER_IN_STOCK_COUNT_ISERROR ="30017";   //入库数量错误
	
	public static final String DEPOT_NAME_ISHAVE ="30018";   //仓库名称重复
	
	public static final String PAYMENT_TYPE_ISHAVE ="30020";   //支付方式重复
	
	public static final String DEPOT_PRODUCT_ISEXISTS ="30021";   //仓库下有产品
	
	public static final String INVENTORY_PRODUCT_ISNULL ="30022";   //盘点产品为空
	
	public static final String HANDLE_INOUT_PRODUCT_ISNULL ="30023";   //手动出入库产品产品为空
	
	public static final String DEPOT_ASSEMBLE_PRODUCT_ISERROR ="30024";  //仓库组装数量错误
	
	public static final String DEPOT_ASSEMBLE_PRODUCT_ISNULL ="30025";  //仓库组装数量错误
	
	public static final String DEPOT_ISNULL ="30026";  //仓库不能为空
	
	public static final String REVIEW_ASIN_ISLARGE ="30027";  //评论ASIN超出套餐限制
	
	public static final String BANK_ACCOUNT_NAME_ERROR ="30028";  
	
	public static final String BANK_ACCOUNT_INFO_ERROR ="30029";   //银行资料信息错误
	
	public static final String FBA_ORDER_COUNT_LARGE ="30030";   //fba订单数据太大
	
	public static final String PRODUCT_STOCK_NOT_ENOUGH ="30031";   //产品库存不足
	
	public static final String SHIPMENT_INFO_INVALID ="30032";  //店铺ID为空
	
	public static final String MASS_MAIL_DOMAIN_COUNT_ERROR ="30033";  //域名下地址大于0
	
	public static final String STORE_COUNT_ISLARGE ="30034";  //店铺数量超出套餐限制
	
	public static final String FOLLOW_COUNT_ISLARGE ="30035";  //跟卖数量超出套餐限制
	
	public static final String SET_MEAL_IS_NOT_SUPPORT ="30036";  //套餐不支持当前菜单
	
	public static final String MASS_MAIL_ADDRESS_ERROR ="30037";  //群发邮件地址错误
	
	public static final String CRM_MEMBER_EMAIL_REPEAT ="30050";  //CRM会员邮箱重复
	
	public static final String CRM_MEMBER_MAIL_NOT_SAME ="30051";  //CRM会员邮箱归属与配置不一致
	
	public static final String ADD_CRM_MEMBER_COUNTRY_IS_NULL ="30052";  //CRM会员国家为空
	
	public static final String MEMBER_BALANCE_WARN ="30053";  //扣除运费用户余额不足
	
	/** 订单任务信息返回码  以4开头标识**/
	public static final String CURRENCY_RATE_IS_ERROR ="40001";  //汇率信息获取失败，请联系客服
	
	public static final String EVALUATERATIO_IS_ERROR ="40002";  //留评比例获取失败，请联系客服
	
	public static final String CPCKEYWORDS_IS_ERROR ="40003";  //cpc关键词服务费获取失败，请联系客服
	
	public static final String ADDCART_IS_ERROR ="40005";  //加购服务费获取失败，请联系客服
	
	public static final String ADDWISH_IS_ERROR ="40006";  //心愿单服务费获取失败，请联系客服
	
	/** 订单  以5开头标识**/
	public static final String ORDER_STATUS_ERROR ="50001";//订单状态不匹配
	
	public static final String ORDER_ISNOTHAVE ="50002";//未找到对订单信息
	
	public static final String ORDER_TASKSTARTDATE_LARGE_TASKENDDATE ="50003";//任务周期开始日期大于任务周期结束日期
	
	public static final String ORDER_TASKEVALUATEPICTURECOUNT_ERROR ="50004";//评价图片数，不能大于留评数*评价图片最大数
	
	public static final String ORDER_TASKEVALUATEVIDEOCOUNT_ERROR ="50005";//评价图片数，不能大于留评数*评价图片最大数
	
	public static final String ORDER_TASKEVALUATEPICTURECOUNT_GT_SURPLUS_ERROR ="50006";//评论图片数大于剩余数
	
	public static final String ORDER_TASKEVALUATEVIDEOCOUNT_GT_SURPLUS_ERROR ="50007";//评论视频数大于剩余数
	
	public static final String ORDER_TASKEVALUATEPICTURECOUNT_GT_EVALUATECOUNT_ERROR ="50008";//评论图片数大于单个任务评价最大数
	
	public static final String ORDER_TASKEVALUATEVIDEOCOUNT_GT_EVALUATECOUNT_ERROR ="50009";//评论视频数大于单个任务评价最大数
	
	public static final String ORDER_CAN_AMOUNT_ERROR ="50008";  //可提现金额不足
	
	public static final String BANK_ACCOUNT_INFO_IS_NULL ="50009";  //提现银行信息不完整
	
	public static final String TAX_MONTH_IS_ERROR ="50010";  //提现月份错误
	
	public static final String ORDER_PRODUCTPRICE_GT_PRODUCTPRICEMAX_ERROR ="50011";//产品价格不能大于服务费的最大产品价格
	
	public static final String CAPITAL_AMOUNT_QUERY_ERROR ="50012";//客户余额查询失败
	
	public static final String CAPITAL_AMOUNT_INPUT_ERROR ="50013";//客户余额输入错误
	
	public static final String CUSTOMER_EXTRACTION_NUMBER_LIMIT ="50020";//当前月份提现次数已用完
	
	public static final String CUSTOMER_EXTRACTION_AMOUNT_LIMIT ="50021"; // 提现金额不能小于
	
	public static final String CUSTOMER_EXTRACTION_INPUT_ERROR ="50022"; // 提现金额输入错误

	public static final String ORDER_LOGISTICS_ISNOTHAVE ="50023"; // 未找到订单物流信息

	public static final String ORDER_SYNC_STORE_AUTH_NOT ="50024"; // 用户下没有授权的店铺

	public static final String ORDER_ORDER_CHANNEL_ERROR ="50025"; // 订单配送方式不匹配
	
	public static final String ORDER_ORDER_STORE_SYNC = "50026";	//店铺正在同步

	/** 第三物货代接口返回码   以6开头标识 **/
	public static final String ORDER_LOGISTICS_API_REQUEST_ERROR ="60001"; // 第三物货代接口请求失败

	public static final String ORDER_LOGISTICS_API_ADD_ERROR ="60002"; // 第三物货代下单失败

	/** 商品接口信息  **/
	public static final String PRODUCT_DATA_DEFECT = "70001";//商品数据缺失



	/** License授权 **/
	public static final String LICENSE_ERROR ="60001";//license错误
	
	/** 亚马逊产品状态 **/
	public static final int FEED_STATUS_DEFAULT = 0; // 数据缺失  0、数据缺失；1、待发布；2、发布中；3、发布成功；4、发布失败
	
	public static final int FEED_STATUS_AWAIT = 1; // 待发布
	
	public static final int FEED_STATUS_SENDING = 2; // 发送中
	
	public static final int FEED_STATUS_SUCCESS = 3; // 发布成功状态
	
	public static final int FEED_STATUS_FAIL = 4; // 发布失败状态
	
	public static final int OPER_INSERT = 1; // 新增操作
	public static final int OPER_UPDATE = 2; // 修改操作
	public static final int OPER_DELETE = 3; // 删除操作
	public static final int OPER_UPLOAD = 4; // 上传操作
	public static final int OPER_DOWNLOAD = 5; // 下载操作
	
}
